package com.example.myweb.Dto;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class DynamicDetailDTO {
    private Long dynamicId;
    private String content;
    private LocalDateTime publishTime;
    private int likeCount;
    private int commentCount;
    private AuthorInfoDTO author;
    // 未来可以添加图片列表、话题列表等
    // private List<String> images;
    // private List<TopicDTO> topics;
    private List<String> imageUrls;
    /**
     * 该动态附带的投票结果信息 (可以为null)
     */
    private PollResultDTO poll;
}